package com.wanmait.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.community.entity.RepairFollow;
import org.apache.ibatis.annotations.Param;

public interface RepairFollowMapper extends BaseMapper<RepairFollow> {
    void insertRepairFollowByRepairFollow(RepairFollow repairFollow);//添加一条回访记录
    RepairFollow selectById(Integer id);//立即获取刚添加的对象
    RepairFollow selectByComplaintId(Integer complaintId);//根据前端传过来的维修事件id查是否存在该记录
    void updateRepairFollowByComplaintId(@Param("repairFollow") RepairFollow repairFollow);
}